home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-12-08 | 1.6 KB | 52 lines | [TEXT/MPS ] |
- #
- # Macintosh Developer Technical Support
- #
- # Simple Color QuickDraw Animation Sample Application
- #
- # TubeTest
- #
- # TubeTest.make - Make Source
- #
- # Copyright © 1988 Apple Computer, Inc.
- # All rights reserved.
- #
- # Versions: 1.0 8/88
- #
- # Components: TubeTest.p August 1, 1988
- # TubeTest.r August 1, 1988
- # TubeTest.make August 1, 1988
- #
- # The TubeTest program is a simple demonstration of how to use the Palette
- # Manager in a color program. It has a special color palette that is associated
- # with the main window. The colors are animated using the Palette Manager
- # to give a flowing tube effect. The program is very simple, and the Palette
- # Manager and drawing parts are put in separate subroutines to make it easier
- # to figure out what is happening.
- #
- # The program is still a complete Macintosh application with a Main Event Loop,
- # so there is the extra code to run the MEL.
- #
- # There is a resource file that is necessary as well, to define the Menus, Window,
- # Dialog, and Palette resources used in the program.
- #
- # See Sample and TESample for the general structure and MultiFinder techniques that
- # we recommend that you use when building a new application.
- #
- OOptions = -s {SymOptions}
-
- .mod.o ƒ .mod
- Oberon {OOptions} {DepDir}{Default}.mod -o {TargDir}{Default}.mod.o
-
- OObjs = TubeTest.mod.o ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- "{OLibraries}"OberonLib.o
-
- TubeTest ƒƒ {OObjs} TubeTest.make
- Link -o {Targ} {OObjs} {SymOptions}
- SetFile {Targ} -t APPL -c '????'
-
- TubeTest ƒƒ TubeTest.r TubeTest.make
- Rez -rd -o {Targ} TubeTest.r -append
-
-